<template>
  <div class="home">
    首页
  </div>
</template>

<script>
// @ is an alias to /src
import Immutable from 'immutable'

export default {
  name: 'home',
  data() {
  	return {
  		obj: {
  			a: 111,
  			b: 'adfa',
  			c: function() {
  				return 'ccccc';
  			}
  		}
  	}
  },
  mounted() {
  	this.queryData();
  },
  methods: {
  	queryData() {
  		let that = this,
  			now = Immutable.fromJS(that.obj),
  			jo = now.join();

  		console.log('now', now);
  		console.log('jo', jo);
  		console.log('jo', typeof(jo));
  	}
  }
}
</script>
